package com.kqb.service;


import com.kqb.common.domain.page.Page;
import com.kqb.common.domain.page.PageResult;
import com.kqb.pojo.ForwarderInquiryList;
import com.kqb.pojo.ForwarderInquiryProduct;
import com.kqb.query.ForwarderInquiryQuery;

import java.util.Map;

public interface ForwarderInquiryListService {

    /**
     * 保存货代询价明细单
     * @return
     */
    public int save(ForwarderInquiryList forwarderInquiryList);

    /**
     * 查询货代询价单
     * @param map
     * @return
     */
    public PageResult queryByMap(Map map);

    /**
     * 通过询价编码查询询价详情
     * @param code
     * @return
     */
    public ForwarderInquiryList queryByCode(String code);

    /**
     * 更新询价
     * @param forwarderInquiryList
     * @return
     */
    public int updateInquiry(ForwarderInquiryList forwarderInquiryList);
}
